jQuery('document').ready(function(){
		jQuery("#excluirCli").live('click',function(){
			if(confirm("Deseja excluir Cliente?")){
				window.location.href = "/planart/public/admin/cliente/destroy?id=" + $(this).attr('rel');				
			}
		});
		jQuery("#excluirVei").live('click',function(){
			if(confirm("Deseja excluir Veículo?")){
				window.location.href = "/planart/public/admin/veiculo/destroy?id=" + $(this).attr('rel');				
			}
		});
		jQuery("#excluirCar").live('click',function(){
			if(confirm("Deseja excluir Cliente?")){
				window.location.href = "/planart/public/admin/carreta/destroy?id=" + $(this).attr('rel');				
			}
		});
});
